package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/9/6 18:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginByUsernameVo {

    @JsonProperty("statusCode")
    private Integer statusCode;
    @JsonProperty("message")
    private String message;
    @JsonProperty("apiCode")
    private Integer apiCode;
    @JsonProperty("data")
    private Token data;

    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class Token {
        private String token;
    }


}
